<?=use_lightbox()?>
<script language='javascript' type='text/javascript' src="<?=base_url('get_images')?>scripts/get_image.js"></script>

<script language='javascript' type='text/javascript' src="<?=base_url('price_files')?>scripts/price_files.js"></script>
<?php echo form_open($this->price_files_detail_model->url_prefix, array('enctype'=>'multipart/form-data')); ?>
<?if($msg){?><center><div class="messageBox"><?=$msg?></div></center><?}?>
<table border="0" cellspacing="0" cellpadding="0" class="infoTable">
  <tr>
    <td id='infoStr'>Tiêu đề *:</td>
    <td id='infoInput' align='left'><input name="title" type="text" value="<?=h($title)?>" size="30" /></td>
  </tr>
  
  <tr>
    <td id='infoStr'>File name :</td>
    <td id='infoInput' align='left'>
		<input type="hidden" name="image_name"/>
		<input type="hidden" name="thumb_image_name" />
		<input type="file" size="30" name="file_name" size="60" maxlength="255" />
		<br>	
		<input type="checkbox" name="del_old_file" checked="checked" />Xóa file cũ	
    			
    </td>
  </tr>
  
  
  <tr>
    <td id='infoStr'>Hiển thị:</td>
    <td id='infoInput' align='left'><input name="active" type="checkbox"{active} /></td>
  </tr>
  <tr>
    <td id='infoStr'>&nbsp;</td>
    <td id='infoInput' align='left'>
        <input type="button" value="Lưu" class="save_button" style="cursor:pointer" onclick="return price_files.saveItem({start}, {item}, '{language}')" />&nbsp;
        <input type="button" value="Quay về" class="cancel_button" style="cursor:pointer" onclick="price_files.cancel({start}, '{language}')" />
    </td>
  </tr>
</table>
</form>